package com.hl.sfzy.service.content;

import com.github.pagehelper.PageInfo;
import com.hl.sfzy.entity.content.FM;

import java.time.LocalDateTime;


public interface FMService {

    public PageInfo<FM> getAllList(Integer pageNum, Integer pageSize);

    public int addFM(FM fm);

    public int removeFM(Long id);

    public PageInfo<FM> searchList(String keyword, LocalDateTime start,LocalDateTime endTime, Integer pageNum, Integer pageSize);

    public FM getFMById(Long id);

    public int updateFM(FM fm);
}
